package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.pojo.Dish;

public interface DishService extends IService<Dish> {
    public void saveDishWithDishFlavor (DishDto dishDto);
    public Page<DishDto> pageAll(Integer page, Integer pageSize, String name);
    public DishDto getByIdWithDishFlavor (Long id);

    public void updateDishWithDishFlavor(DishDto dishDto);
}
